//
//  DetailCell.swift
//  SpuerYangAngWang
//
//  Created by 杨茂盛 on 2016/12/23.
//  Copyright © 2016年 杨茂盛. All rights reserved.
//

import UIKit

class DetailCell: UITableViewCell {
    var model:ZHSellFastModel?{
        didSet{
            self.nameLabel.text = model?.name
            self.priceLabel.text = model?.partner_price
            self.superMarketLabel.text = model?.market_price
        }
    }
    //市场价格
    @IBOutlet weak var superMarketLabel: UILabel!
    //打折后
    @IBOutlet weak var priceLabel: UILabel!
    //商品的名称
    @IBOutlet weak var nameLabel: UILabel!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
